package com.first.util;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;

@RestController
@RequestMapping("img")
public class Img {
    @RequestMapping("11")
    public LayuiImg getURL(@RequestParam("file")MultipartFile[] files){
        ArrayList<String> urls = Onload.getURLS(files);
        System.out.println(urls);
        return null;
    }
}
